package cc.admin.modules.sys.entity;

import cc.admin.common.sys.vo.TenantModel;
import cc.admin.poi.excel.annotation.Excel;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * \n
 *
 * @author zxy
 * @date 2022-07-06 17:03
 * @description description\n
 */
@Data
@TableName("sys_subsystem")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="sys_subsystem对象", description="子系统管理")
public class SysSubsystem extends TenantModel {
    /**主键*/
    @Excel(name = "主键", width = 15)
    @ApiModelProperty(value = "主键")
    private String id;

    @Excel(name="编码",width = 15)
    @ApiModelProperty(value = "编码")
    private String code;

	@Excel(name="名称",width = 15)
	@ApiModelProperty(value = "名称")
	private String name;

	@Excel(name="图标",width = 15)
	@ApiModelProperty(value = "图标")
	private String icon;

    @Excel(name = "排序",width = 15)
    @ApiModelProperty(value = "排序")
    private Integer sort;

    @Excel(name = "备注",width = 30)
    @ApiModelProperty(value = "备注")
    private String remark;

    /**创建人*/
    @Excel(name = "创建人", width = 15)
    @ApiModelProperty(value = "创建人")
    private String createBy;
    /**创建日期*/
    @Excel(name = "创建日期", width = 15)
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
    /**更新人*/
    @Excel(name = "更新人", width = 15)
    @ApiModelProperty(value = "更新人")
    private String updateBy;
    /**更新日期*/
    @Excel(name = "更新日期", width = 15)
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
    @Excel(name="机构编码",width=15)
    private String sysOrgCode;
}
